package service.Impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.UserDao;
import service.UserService;
import vo.UserInfoVO;

@Service("userService")
public class UserServiceImpl implements UserService{

	@Autowired
	private UserDao userDao;
	public List<UserInfoVO> getUserInfofromMaster() {
		return userDao.getUserInfofromMaster();
	}

	public List<UserInfoVO> getUserInfoFromSlave() {
		return userDao.getUserInfoFromSlave();
	}

}
